<div>
    <h1>点击计数器</h1>
    <div class="well">
        <div>你点击了 <span data-bind='text: numberOfClicks'>&nbsp;</span> 次。</div>
        <br />
        <button class="btn btn-default" data-bind='click: registerClick, disable: hasClickedTooManyTimes'>点我</button>
        <br />
        <div data-bind='visible: hasClickedTooManyTimes'>
        	你点击了太多次了，请停止点击。
            <button class="btn btn-default btn-danger" data-bind='click: resetClicks'>重置点击次数</button>
        </div>
    </div>
</div>